package org.example.weather.core;

import java.time.LocalDate;


public class WeatherData {
    private String location;
    private double temperature;
    private double humidity;
    private LocalDate date;

    public WeatherData(String location, double temperature, double humidity, LocalDate date) {
        this.location = location;
        this.temperature = temperature;
        this.humidity = humidity;
        this.date = date;
    }
    public String getLocation() {
        return location;
    }

    public double getTemperature() {
        return temperature;
    }

    public double getHumidity() {
        return humidity;
    }

    public LocalDate getDate() {
        return date;
    }

    @Override
    public String toString() {
        return "WeatherData{" +
                "location='" + location + '\'' +
                ", temperature=" + temperature +
                ", humidity=" + humidity +
                ", date=" + date +
                '}';
    }
}
